-- GENERATED SPELL FOR [Saronite Horror] --


function spell0_26646(pUnit, Event) --@Seething Evil,Self--
pUnit:FullCastSpellOnTarget(52342,pUnit)
pUnit:RegisterEvent('Sorts_26646', 581, 1)
end

function Sorts_26646(pUnit, Event)
local choix_sorts_26646 = math.random(0, 0)
if choix_sorts_26646 == 0 then
pUnit:RegisterEvent('spell0_26646', 1, 1)
end
end

function mob26646_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26646', math.random(1500, 3000), 1)
end

function mob26646_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26646_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26646_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26646, 1, 'mob26646_Action')
RegisterUnitEvent(26646, 2, 'mob26646_Leave')
RegisterUnitEvent(26646, 3, 'mob26646_Kill')
RegisterUnitEvent(26646, 4, 'mob26646_Die')
